package com.talkingdata.hadoop.guard.bean;

import com.talkingdata.hadoop.guard.mapper.YarnClusterMapper;

public class YarnStatePage {
    private RmState rmState;
    private YarnClusterState yarnClusterState;
    private SchedulerState schedulerState;

    public YarnStatePage(RmState rmState, YarnClusterState yarnClusterState) {
        this.rmState = rmState;
        this.yarnClusterState = yarnClusterState;
    }

    public RmState getRmState() {
        return rmState;
    }

    public void setRmState(RmState rmState) {
        this.rmState = rmState;
    }

    public YarnClusterState getYarnClusterState() {
        return yarnClusterState;
    }

    public void setYarnClusterState(YarnClusterState yarnClusterState) {
        this.yarnClusterState = yarnClusterState;
    }

    public SchedulerState getSchedulerState() {
        return schedulerState;
    }

    public void setSchedulerState(SchedulerState schedulerState) {
        this.schedulerState = schedulerState;
    }

    public YarnStatePage(RmState rmState, YarnClusterState yarnClusterState, SchedulerState schedulerState) {
        this.rmState = rmState;
        this.yarnClusterState = yarnClusterState;
        this.schedulerState = schedulerState;
    }
}
